'''
Created on May 1, 2013

@author: priya
'''
import jellyfish
import sqlite3 as lite
import sys

conn = None 

try: 
    conn = lite.connect('C:\\Users\\priya\\git\\kddcup2013\\src\\data\\kdd2013.db')
    cur = conn.cursor
    
    cur.execute("SELECT Id, Name FROM Author")
    rows = cur.fetchall() 
    
    for rowx in rows: 
        for rowy in rows: 
            pass 
    
    
    
except lite.Error, e: 
    print "Error %s:" % e.args[0]
    sys.exit(1)
    
finally: 
    if conn:
        conn.close()

